package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.EhmResidentCrowd;
import com.aijk.ehm.model.EhmResidentCrowdExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmResidentCrowdMapper {
    int countByExample(EhmResidentCrowdExample example);

    int deleteByExample(EhmResidentCrowdExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmResidentCrowd record);

    int insertSelective(EhmResidentCrowd record);

    List<EhmResidentCrowd> selectByExample(EhmResidentCrowdExample example);

    EhmResidentCrowd selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmResidentCrowd record, @Param("example") EhmResidentCrowdExample example);

    int updateByExample(@Param("record") EhmResidentCrowd record, @Param("example") EhmResidentCrowdExample example);

    int updateByPrimaryKeySelective(EhmResidentCrowd record);

    int updateByPrimaryKey(EhmResidentCrowd record);
}